package com.liang.text;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

public class ServerTest {
    public static void main(String[] args) throws IOException {
        ServerSocket ss = new ServerSocket(10089);

        Socket accept = ss.accept();

        SendMes sm = new SendMes(accept);
        AcceptMsg am = new AcceptMsg(accept);
        sm.start();
        am.start();




    }
}
